imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue
authorYe Li <[email protected]>
Wed, 5 Apr 2017 02:36:58 +0000 (10:36 +0800)
committerStefano Babic <[email protected]>
Wed, 12 Apr 2017 16:45:10 +0000 (18:45 +0200)
commit2018ef868c1faf6231b8aeb6d0427f139923a9a6
tree868a2e939e104611d72c77210d2eec6e4388801e
parentb69999efd8c6c6a1246234b1d06375d00149fde5
imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue

The num/denom is a float value, but in the calculation it is convert
to integer 0, and wrong result.

Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
arch/arm/cpu/armv7/mx7ulp/scg.c